package cc.linker.steplink.crm.merchanth5.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ScoreActiveCacheDao {

    List<Map<String,Object>> listScoreActAll(String orgId);

    void addLog(Map<String,Object> param);

    List<Long> getGoodsIdByOrderSn(String orderSn);

    List<Long> getIntegralGoodsIdByOrderSn(String orderSn);

    List<Map<String, Object>> getActStatus(@Param("orgId") String orgId);

    int getOrderAmount(String orderSn);

    Integer getIntegralOrderAmount(String orderSn);

    Map<String, Object> getOrder(String orderSn);

    Map<String, Object> getEnrollOrder(String orderSn);

    Map<String, Object> getIntegralOrder(String orderSn);

    List<Map<String, Object>> getScoreAct(@Param("scoreactType")String scoreactType, @Param("activeType")String activeType, @Param("orgId")String orgId);
}
